<?php
use think\facade\Route;

/** 单页路由 */
Route::group('single/<type>/<id>', function () {
    Route::get('$',  		'@fetch');
    Route::get('content$',	'@content')->setOption('is_api', 0);
})
    ->prefix('\app\content\service\content\Single')
    ->middleware(['withoutLogin'])
    ->pattern(['type' => '\d+', 'id' => '\d+']);

